package com.stone.framework.user.entity;

import javax.persistence.Column;
import javax.persistence.Entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.stone.framework.core.entity.CommonEntity;

@TableName("ST_ROLE_RESOURCE")
@Entity(name = "ST_ROLE_RESOURCE")
public class RoleResource extends CommonEntity {

	private static final long serialVersionUID = 1893527398539994088L;

	@TableField("ROLE_ID")
	@Column(name = "ROLE_ID")
	private Long roleId;

	@TableField("RESOURCE_ID")
	@Column(name = "RESOURCE_ID")
	private Long resourceId;

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public Long getResourceId() {
		return resourceId;
	}

	public void setResourceId(Long resourceId) {
		this.resourceId = resourceId;
	}

}
